#ifndef __BSP_H
#define __BSP_H

#include "at32f435_437_board.h"

#include "flexible_button.h"
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "oled_menu.h"

#include <stdarg.h>

typedef enum
{
  USER_BUTTON_0 = 0,
  USER_BUTTON_1,
  USER_BUTTON_2,
  USER_BUTTON_3,
  USER_BUTTON_MAX
} user_button_t;

void button_scan_task(void *pvParameters);
int debug_printf(char *format, ...);
void debug_printf_init(void);

#endif